﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MobileVM
{
    class Constant
    {
        public const char SEPERATOR_CHAR = '$';
        public const int SERVER_PORT = 7787;

        public const int CONFIG_NUM_RAND_STRING = 1;

        public const int WELCOMECONNECTING = 6593;
        public const int REQUESTCONNECTING = 2872;
        public const int RESPONSECONNECTING = 1103;
        public const int REQUESTWELCOME = 2973;
        public const int REQUESTPAIRCODE = 3943;
        public const int RESPONSEPAIRCODE = 5292;
        public const int RESPONSECONTENT = 1155;

        public const int REQUESTFILLFIELD = 2211;   // IE here
        public const int RESPONSEFILLFIELD = 2218;  // IE here
        public const int REQUESTFIELD = 1122;
        public const int RESPONSEFIELD = 1127;

        public const int CHECKLIVING = 1101;
        
        public const int STATUS_NOT_CONNECTED = 0;
        public const int STATUS_WAIT_FOR_CODE = 1;
        public const int STATUS_CONNECTED = 2;        

        public const double TIMEOUT = 10;   // minutes
        
    }
}
